dundas.controls.GridTemplateAdorner Class

 

Inheritance Hierarchy

 
Class
   dundas.EventDisposable
      dundas.controls.GridTemplateAdorner
         dundas.controls.DataCubeGridTemplateAdorner
         dundas.controls.RepeaterGridTemplateAdorner
 

Constructors

 
  Name Description
init
 
 

Properties

 
  Name Description
activeZIndex The z-index of this template layer when it is selected
canvas Retrieve or Set the canvas that this adorner is attached to.
cellSpacingHorizontal
cellSpacingVertical
cellsPaddingHorizontal
cellsPaddingVertical
columns
designSurface
hoverProximityThreshold
id
isActive
isDisposed Gets a value indicating whether this instance has been disposed. Inherited from dundas.EventDisposable.
referenceGrid Gets the reference grid
resizerVisible Gets or sets the value to display to resizer or not.
rows
templateCellAndGroups Gets the arranged cells and groups.
templateCells
templateGridContainer
uiCache Gets the UI cache table Inherited from dundas.EventDisposable.
visible
 
 

Methods

 
  Name Description
addTemplateCells add template cells, must conform to current grid dimensions
adjustCellSpacing Adjust the cell spacings.
bind Bind an event to this class object. Inherited from dundas.EventDisposable.
checkAllCellsAdjacent Check cells of cellsToCheck are always beside another cell.
checkCellsAreRectangular Check the cells of cellsToCheck and make sure the cells form a rectangular block.
checkCellsMergable Check if the cells are merge-able.
checkIsCellAdjacent Check if toBeChecked is adjacent to target
clearClosestCellHint Clear the hint for the closest cell.
clearSelection Clear all template cells selections.
clearTemplateCellBorderHint Clear all border hints.
dispose Inherited from dundas.EventDisposable.
findColumnSpanDividingCell Find the template Cell that is responsible for requiring a column resizer.
findRowSpanDividingCell Find the template Cell that is responsible for requiring a row resizer.
fromJObject Applies the property values from a plain object created from JSON to the properties of this instance. Inherited from Class.
generateTemplate
getCellById Retrieve the viewmodel of a cell or a cell group.
getClonedGrid Get a DOM grid.
getClosestTemplateCell Retrieves the closest templateCell relative to toCheckRectangle.
getColumnWidth
getRowDeterminingCells
getRowHeight
getSelectedCells
getTemplateCellsOfGroup Get the templateCells of a group.
getTemplateCellsRectangle Retrieve a hash table of data about the template cells' dimensions and position
groupTemplateCells Group the specified template cells.
hide
mergeTemplateCells Merge template cells.
modifyColumnWidth Change a column width.
modifyRowHeight Change a row height.
prepareCellContainers
raiseBindEvent Fire the event specified with eventName, or subscribe a handler. Inherited from dundas.EventDisposable.
resizeAdorner Notify that the adorner is resized.
setTemplateCells Sets the template cell of this grid template adorner.
show
showClosestTemplateCellHint Shows a hovering indicator hint on the closest templateCell relative to toCheckRectangle.
showTemplateCellBorderHint
showTemplateCellHint Shows a hovering indicator hint on the templateCell.
splitSelectedCell Split the selected template cell.
subscribe Subscribe or unsubscribe an event handler for an event. Inherited from dundas.EventDisposable.
subscribeCellLockChanged
subscribeCellSelected
subscribeDisposed Subscribe to the disposed event. Inherited from dundas.EventDisposable.
subscribeGridSizeChanged
subscribeOnce Subscribe a one time event handler for an event. Inherited from dundas.EventDisposable.
subscribeResizerVisibleChanged
subscribeTemplateCellResized Subscribe a handler for the templateCellResized event.
toJSON Implementation for toJSON to return an object that will include this class's prototype property values when stringified. Inherited from Class.
trigger Raise an event. Inherited from dundas.EventDisposable.
unbind Unsubscribe an event. if handler is specified, unsubscribe that handler. if no parameters are specified, unbind everything. Inherited from dundas.EventDisposable.
unbindAll unsubscribe all events. Inherited from dundas.EventDisposable.
ungroupTemplateCells Ungroup a template cell group.
updateCellDimensionPosition